package com.yic.module.qms.controller.admin.inspectentry.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 检验项目 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class InspectEntryExcelVO {

    @ExcelProperty("序号")
    private Long id;

    @ExcelProperty("项目名称")
    private String name;

    @ExcelProperty("项目代码")
    private String code;

    @ExcelProperty(value = "项目分类", converter = DictConvert.class)
    @DictFormat("qms_inspect_category") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer inspectCategory;

    @ExcelProperty("检验工具")
    private String inspectTools;

    @ExcelProperty("检验方法")
    private String inspectMethod;

    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer status;

    @ExcelProperty("排序")
    private Integer sort;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("工厂")
    private Long factoryId;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
